package com.tedu.egspringbootmvc.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class UserArticleDTO {
    @NotBlank
    @Size(min = 1, max = 20)
    private String title;
    @NotBlank
    @Size(min = 10, max = 500)
    private String content;
}
